package uk.co.q3c.deplan.client.service;

import java.util.List;

import uk.co.q3c.deplan.client.dao.ResourceService;
import uk.co.q3c.deplan.client.dao.ResourceServiceAsync;
import uk.co.q3c.deplan.client.domain.DomainObject;
import uk.co.q3c.deplan.client.domain.resource.IndividualResource;
import uk.co.q3c.deplan.client.domain.resource.Resource;
import uk.co.q3c.deplan.client.domain.resource.ResourceGroup;
import uk.co.q3c.deplan.client.domain.resource.ResourcePool;
import uk.co.q3c.deplan.client.domain.task.Task;

import com.googlecode.objectify.Key;

public class ResourceServiceClient implements ResourceService {
	private ResourceServiceAsync rpc;

	@Override
	public void closeSession() {
		throw new RuntimeException("Not yet implemented");

	}

	@Override
	public void discard(DomainObject dob) {
		throw new RuntimeException("Not yet implemented");

	}

	@Override
	public List<ResourcePool> findResourcePools() {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public <T extends DomainObject> T getObjectFromKey(Key<T> key) {
		throw new RuntimeException("Not yet implemented");
	}

	public ResourceServiceAsync getRpc() {
		return rpc;
	}

	@Override
	public <T extends DomainObject> Key<T> keyFor(T domainObject) {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public <T extends Resource> Key<T> keyFor(T domainObject) {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public void save(DomainObject dob) {
		throw new RuntimeException("Not yet implemented");

	}

	public void setRpc(ResourceServiceAsync rpc) {
		this.rpc = rpc;
	}

	@Override
	public List<ResourceGroup> groupsFromsKeys(List<Key<ResourceGroup>> groupsKeys) {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public List<IndividualResource> individualsFromKeys(List<Key<IndividualResource>> individualsKeys) {
		throw new RuntimeException("Not yet implemented");
	}

	@Override
	public List<Task> tasksUsingResource(IndividualResource resource) {
		throw new RuntimeException("Not yet implemented");
	}

}
